<!DOCTYPE html>

<html lang="zh-CN">

<head>
    <meta charset="UTF-8">

</head>
<body>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <link rel="stylesheet" href="./index.css">
</head>

<body>
    <div class="box">
        <!-- 图片列表 -->
        <div class="img_box">
            <!-- 图片 -->
            <ul>
                <li class="list01"><a href=""><img src="./img/01.jpeg" alt=""></a></li>
                <li class="list02"><a href=""><img src="./img/02.jpeg" alt=""></a></li>
                <li class="list03"><a href=""><img src="./img/03.jpeg" alt=""></a></li>
                <li class="list04"><a href=""><img src="./img/04.jpeg" alt=""></a></li>
            </ul>

            <!-- 按钮 -->
            <div class="l_btn">&lt;</div>
            <div class="r_btn">&gt;</div>
        </div>

        <!-- 小圆点 -->
        <div class="dot_box">
            <span class="dot_active"></span>
            <span></span>
            <span></span>
            <span></span>
        </div>
    </div>

    <script src="./index.js"></script>
    <script>
        let a = new Carousel(".box");
        // a.fn()
    </script>
</body>

</html>